package com.shop.dao;

import java.io.Serializable;
import java.util.List;

import com.shop.entity.Order;
import com.shop.entity.User;

public interface OrderDao {
	
		//根据商品类型查询商品
		List<Order> selectOrderByStatus(Order order);
		
		List<Order> findAllOrder();//查找所有订单
		
		Serializable addOrder(Order order);
		
		Serializable deleteOrder(Order order);
		
		Serializable updateOrder(Order order);
		
		Order selectByOrderId(Order order);//根据订单id查看订单信息
		
		//根据客户id查询客户的订单
		List<Order> selectOrderByUserId(User user);

}
